<?php
include($_SERVER['DOCUMENT_ROOT']."/inc/Function_index.php");
$psize = 10;
$page = isset($_GET['page'])?$_GET['page']:1;
$list = infolist($page,$psize);
$num = infolistnum();
if($list){
    $msg = 1;
}else{
    $msg = 0;
}
$page1 = page1($num,$psize,$page);
$tpl->assign('results',$results);
$tpl->assign("nlist",$list);
$tpl->assign("msg",$msg);
$tpl->assign("page",$page1);
$tpl->show("infolist");
?>